#ifndef __PVMOSDEP_H__
#define __PVMOSDEP_H__

#include "pvm/pvmdefs.h"
#include "pvm/pvmtypes.h"

#include <FBaseRtThreadMutex.h>
#include <FBaseRtThreadMonitor.h>
#include <FIoFile.h>
#include <stdlib.h>
#include <string.h>

typedef Osp::Base::Runtime::Mutex* PVMCriticalSection;

typedef int PVMThreadRetVal;
typedef PVMThreadRetVal (PVMCALL *PVMThreadStartRoutine)(void* param);

typedef Osp::Base::Runtime::Monitor* PVMEventHandle;

class PVMBADAThread;
typedef PVMBADAThread* PVMThreadHandle;
typedef Osp::Io::File* PVMFileHandle;

#define PVM_FILE_OPEN_ERROR		null
#define PVM_EMPTY_FILE_HANDLE	null

#endif
